package GUI;

import java.awt.Dimension;

import javax.swing.JApplet;

import Logic.Game;

@SuppressWarnings("serial")
public class Applet extends JApplet 
{
	public static final int WIDTH = 1800;
	public static final int HEIGHT = 800;
	 private Game game; 
	
	 @Override
	 public void init()
	 {
//		 setMinimumSize(new Dimension(WIDTH, HEIGHT));
//		 setMaximumSize(new Dimension(WIDTH, HEIGHT));
		 game = new Game(this);
		 new Thread() 
		 {
		    @Override
		    public void run() 
		    {
		       game.run();		       
		    }
		 }.start();
		 
		 setSize(new Dimension(WIDTH, HEIGHT)); 
		 setVisible(true);
		 //test comment to set up PWord : yeah buddy!
	 }
}
